<!--%import("popup.js")-->
<!--%import("popup.css")-->
<!--%import("../lang")-->
{@Context::addHtmlHeader('<script language="javascript" type="text/javascript">//<![CDATA[<!--'."\n".
                         'var no_result="'.$lang->msg_no_result.'";'."\n".
                         'var dragmarkertext="'.$lang->soo_drag_marker_text.'";'."\n".
                         'var soo_saved="'.$lang->soo_locations_saved.'";'."\n".
                         'var soo_save="'.$lang->soo_locations_save.'";'."\n".
                         'var soo_nulledit="'.$lang->soo_locations_nulledit.'";'."\n".
                         'var soo_editing="'.$lang->soo_locations_editing.'";'."\n".
                         'var soo_edit="'.$lang->soo_locations_edit.'";'."\n".
                         '//-->//]]>'."\n".'</script>'."\n");} 
<div id="popHeadder">
    <h3 class="xeAdmin">{$component_info->title} ver. {$component_info->version}</h3>
</div>
<div id="map_canvas"></div>
<div id="map_popBody">
<input type="hidden" id="lat" value="" />
<input type="hidden" id="lng" value="" />
<input type="hidden" id="map_zoom" value="" />
<table border="0" width="100%">
	<tr>
		<td bgcolor="#D0D0D0" width="100">{$lang->soo_width}</td>
		<td><input type="text" class="inputTypeText" id="width" value="" />px</td>
		<td bgcolor="#D0D0D0" width="100"><strong>{$lang->soo_search}</strong></td>
		<td><form action="#" onsubmit="showLocation(this.address.value); return false">
          <div style="float:left;"><input type="text" name="address" value="" /></div>
          <div style="float:left; padding-left: 2px;"><span class="button red"><input type="submit" value="{$lang->cmd_search}" /></span></div>
        </form>
    </td>
	</tr>
	<tr>
		<td bgcolor="#D0D0D0" width="100">{$lang->soo_height}</td>
		<td><input type="text" class="inputTypeText" id="height" value="" />px</td>
		<td rowspan="3" bgcolor="#D0D0D0" width="100">{$lang->soo_result}</td>
		<td rowspan="3"><div class="result_list_box" id="result_list_layer">{$lang->about_soo_result_use}</div></td>
	</tr>
	<tr>
		<td bgcolor="#D0D0D0" width="100">{$lang->soo_ment}</td>
		<td><input type="text" class="inputTypeText" id="ment" value="" /></td>
	</tr>
	<tr>
		<td bgcolor="#D0D0D0" width="100">{$lang->soo_locations}</td>
		<td>
		  <span id="save_form">
		    <form action="#" onsubmit="soo_save_location(this.locations.value); return false" id="form_to_save">
	        <select size="1" id="locations"><option value="0">1</option></select><br /><span class="button red"><input type="submit" id="save_btn" value="{$lang->soo_locations_save}" /></span>
          <span class="button"><button type="button" onclick="soo_load_location();">{$lang->soo_locations_edit}</button></span></form></span>
    </td>
	</tr>
</table>
</div>
<div id="popFooter" class="tCenter">
    <a href="#" onclick="insertMap()" class="button"><span>{$lang->cmd_insert}</span></a>
    <a href="#" onclick="window.close(); return false;" class="button"><span>{$lang->cmd_close}</span></a>
    <a href="#" onclick="winopen('./?module=editor&amp;act=dispEditorComponentInfo&amp;component_name={$component_info->component_name}','ComponentInfo','left=10,top=10,width=10,height=10,resizable=no,scrollbars=no,toolbars=no');return false;" class="button"><span>{$lang->about_component}</span></a>
</div>
